import { NgModule } from '@angular/core'
import { SharedModule } from '@shared'
import { BatchImportRoutingModule } from './batch-import-routing.module'
import { ListComponent } from './list/list.component'
import { NewComponent } from './new/new.component'
import { UploadComponent } from './upload/upload.component'
import { BatchImportAlinterService } from './batch-import-alinter.service'
import { BatchImportService } from './batch-import.service'

const COMPONENTS = []
const COMPONENTS_NOROUNT = [
  ListComponent,
  NewComponent,
  UploadComponent
]

@NgModule({
  imports: [
    SharedModule,
    BatchImportRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT,
  providers: [
    { provide: BatchImportService, useClass: BatchImportAlinterService },
  ]
})
export class BatchImportModule { }
